/* ----------------------------------------------------------------------------------------------------------------
 * IAnimation
 * ----------------------------------------------------------------------------------------------------------------
 */
package pure.engine.renderer 
{
	import pure.engine.system.ITickObject;
	
	/**
	 * 动画(渲染器)接口
	 * 
	 * @author Pure
	 */
public interface IAnimation extends IRenderer, ITickObject
{
	
	
	
	//======================
	// Property
	//======================
	

	function get section():String
	function set section(sectionName:String):void 
	
		
	function get playSpeed():Number
	function set playSpeed(value:Number):void
	
	
	function get playing():Boolean
	function get position():Number
	
	
	
	
	
	//======================
	// Base
	//======================
	
	
	function play(actionName:String, onComplete:Function = null, ...args):Number
	function repeat(actionName:String):void
	function tick(actionName:String, duration:Number, onComplete:Function = null, ...args):void
	function setPointer(pointer:int):void
	function stop():void
	function resume():void
	function reset(autoPlay:Boolean):void
	function togglePause():void
	
	
}
	
}